<div class="hknks view">
<h2><?php  __('Hknk');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hknk['Hknk']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hknk['Hknk']['hknk']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybdhk'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hknk['Hknk']['ngaybdhk']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaykthk'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hknk['Hknk']['ngaykthk']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa', true), array('action' => 'edit', $hknk['Hknk']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $hknk['Hknk']['id']), null, sprintf(__('Ban có chắc muốn xóa không?', true), $hknk['Hknk']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh mục học kỳ niên khóa', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm học kỳ niên khóa', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách đăng ký môn học', true), array('controller' => 'dkmhs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Đăng ký môn học mới', true), array('controller' => 'dkmhs', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Nhóm thực hành đã lập', true), array('controller' => 'lapnhoms', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Lập nhóm thực hành mới', true), array('controller' => 'lapnhoms', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh mục tiêu chí', true), array('controller' => 'tieuchis', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm tiêu chí', true), array('controller' => 'tieuchis', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh mục tuần', true), array('controller' => 'tuans', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm tuần mới', true), array('controller' => 'tuans', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Dkmhs');?></h3>
	<?php if (!empty($hknk['Dkmh'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Dkmh']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Dkmh']['hknk_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Dkmh']['sinhvien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Monhoc Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Dkmh']['monhoc_id'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa đăng ký môn học', true), array('controller' => 'dkmhs', 'action' => 'edit', $hknk['Dkmh']['id'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php  __('Related Lapnhoms');?></h3>
	<?php if (!empty($hknk['Lapnhom'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Monhoc Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['monhoc_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Giaovien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['giaovien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['hknk_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybd');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['ngaybd'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaykt');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Lapnhom']['ngaykt'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa lập nhóm', true), array('controller' => 'lapnhoms', 'action' => 'edit', $hknk['Lapnhom']['id'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php  __('Related Tieuchis');?></h3>
	<?php if (!empty($hknk['Tieuchi'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['hknk_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Monhoc Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['monhoc_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Giaovien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['giaovien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tieuchi');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['tieuchi'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Diengiai');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['diengiai'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaylap');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['ngaylap'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybdbc');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['ngaybdbc'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayktbc');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tieuchi']['ngayktbc'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa tiêu chí', true), array('controller' => 'tieuchis', 'action' => 'edit', $hknk['Tieuchi']['id'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php  __('Related Tuans');?></h3>
	<?php if (!empty($hknk['Tuan'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tuan']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tuan']['hknk_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tuan');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tuan']['tuan'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybd');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tuan']['ngaybd'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaykt');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $hknk['Tuan']['ngaykt'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa Tuần', true), array('controller' => 'tuans', 'action' => 'edit', $hknk['Tuan']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Dkmhs');?></h3>
	<?php if (!empty($hknk['Dkmh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Hknk Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Monhoc Id'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hknk['Dkmh'] as $dkmh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dkmh['id'];?></td>
			<td><?php echo $dkmh['hknk_id'];?></td>
			<td><?php echo $dkmh['sinhvien_id'];?></td>
			<td><?php echo $dkmh['monhoc_id'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'dkmhs', 'action' => 'view', $dkmh['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'dkmhs', 'action' => 'edit', $dkmh['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'dkmhs', 'action' => 'delete', $dkmh['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $dkmh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Đăng ký môn học mới', true), array('controller' => 'dkmhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Lapnhoms');?></h3>
	<?php if (!empty($hknk['Lapnhom'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Monhoc Id'); ?></th>
		<th><?php __('Giaovien Id'); ?></th>
		<th><?php __('Hknk Id'); ?></th>
		<th><?php __('Ngaybd'); ?></th>
		<th><?php __('Ngaykt'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hknk['Lapnhom'] as $lapnhom):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $lapnhom['id'];?></td>
			<td><?php echo $lapnhom['monhoc_id'];?></td>
			<td><?php echo $lapnhom['giaovien_id'];?></td>
			<td><?php echo $lapnhom['hknk_id'];?></td>
			<td><?php echo $lapnhom['ngaybd'];?></td>
			<td><?php echo $lapnhom['ngaykt'];?></td>
			<td class="actions">
				<?php echo $html->link(__('hiển thị', true), array('controller' => 'lapnhoms', 'action' => 'view', $lapnhom['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'lapnhoms', 'action' => 'edit', $lapnhom['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'lapnhoms', 'action' => 'delete', $lapnhom['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $lapnhom['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Lập nhóm mới', true), array('controller' => 'lapnhoms', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tieuchis');?></h3>
	<?php if (!empty($hknk['Tieuchi'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Hknk Id'); ?></th>
		<th><?php __('Monhoc Id'); ?></th>
		<th><?php __('Giaovien Id'); ?></th>
		<th><?php __('Tieuchi'); ?></th>
		<th><?php __('Diengiai'); ?></th>
		<th><?php __('Ngaylap'); ?></th>
		<th><?php __('Ngaybdbc'); ?></th>
		<th><?php __('Ngayktbc'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hknk['Tieuchi'] as $tieuchi):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tieuchi['id'];?></td>
			<td><?php echo $tieuchi['hknk_id'];?></td>
			<td><?php echo $tieuchi['monhoc_id'];?></td>
			<td><?php echo $tieuchi['giaovien_id'];?></td>
			<td><?php echo $tieuchi['tieuchi'];?></td>
			<td><?php echo $tieuchi['diengiai'];?></td>
			<td><?php echo $tieuchi['ngaylap'];?></td>
			<td><?php echo $tieuchi['ngaybdbc'];?></td>
			<td><?php echo $tieuchi['ngayktbc'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'tieuchis', 'action' => 'view', $tieuchi['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'tieuchis', 'action' => 'edit', $tieuchi['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'tieuchis', 'action' => 'delete', $tieuchi['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $tieuchi['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Tiêu chí mới', true), array('controller' => 'tieuchis', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tuans');?></h3>
	<?php if (!empty($hknk['Tuan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Hknk Id'); ?></th>
		<th><?php __('Tuan'); ?></th>
		<th><?php __('Ngaybd'); ?></th>
		<th><?php __('Ngaykt'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hknk['Tuan'] as $tuan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tuan['id'];?></td>
			<td><?php echo $tuan['hknk_id'];?></td>
			<td><?php echo $tuan['tuan'];?></td>
			<td><?php echo $tuan['ngaybd'];?></td>
			<td><?php echo $tuan['ngaykt'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'tuans', 'action' => 'view', $tuan['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'tuans', 'action' => 'edit', $tuan['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'tuans', 'action' => 'delete', $tuan['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $tuan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm tuần mới', true), array('controller' => 'tuans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
